x86/hvm: add length to mmio check op
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 9 Jul 2015 17:04:00 +0000 (19:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Jul 2015 07:45:29 +0000 (09:45 +0200)
commit1e0d090f9df43910bc25defd1bc19519cee2d4d1
tree2a0c251fbe24a84ff6c2dae9f133aae447e06477
parent49801a4f7940732a98b53c991195d63793d40901
x86/hvm: add length to mmio check op

When memory mapped I/O is range checked by internal handlers, the length
of the access should be taken into account.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/intercept.c
xen/include/asm-x86/hvm/io.h